package com.txts.road.admin.vehicleSys.mapper;

import com.txts.road.admin.vehicleSys.domain.raceVehicle;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 参赛车辆Mapper接口
 *
 * @author ruoyi
 * @date 2025-05-15
 */
@Mapper
public interface raceVehicleMapper {
    /**
     * 查询参赛车辆
     *
     * @param id 参赛车辆主键
     * @return 参赛车辆
     */
    public raceVehicle selectraceVehicleById(Long id);

    /**
     * 查询参赛车辆列表
     *
     * @param raceVehicle 参赛车辆
     * @return 参赛车辆集合
     */
    public List<raceVehicle> selectraceVehicleList(raceVehicle raceVehicle);

    /**
     * 新增参赛车辆
     *
     * @param raceVehicle 参赛车辆
     * @return 结果
     */
    public int insertraceVehicle(raceVehicle raceVehicle);

    /**
     * 修改参赛车辆
     *
     * @param raceVehicle 参赛车辆
     * @return 结果
     */
    public int updateraceVehicle(raceVehicle raceVehicle);

    /**
     * 删除参赛车辆
     *
     * @param id 参赛车辆主键
     * @return 结果
     */
    public int deleteraceVehicleById(Long id);

    /**
     * 批量删除参赛车辆
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteraceVehicleByIds(Long[] ids);
}
